using System;

namespace Abc.Application
{
    /// <summary>
    /// Description 通知
    /// </summary>
    public class NoticeOut
    {
        ///<Summary>
        /// ID
        ///</Summary>
        public int Id { get; set; }

        ///<Summary>
        /// 通知类型代码
        ///</Summary>
        public TypeCode TypeCode { get; set; }

        ///<Summary>
        /// 标题
        ///</Summary>
        public string Title { get; set; }

        ///<Summary>
        /// 内容
        ///</Summary>
        public string Content { get; set; }

        ///<Summary>
        /// 是否读取
        ///</Summary>
        public bool IsRead { get; set; }

        ///<Summary>
        /// 是否读取名称
        ///</Summary>
        public string IsReadName { get; set; }

        ///<Summary>
        /// 读取状态
        ///</Summary>
        public DateTimeOffset ReadTime { get; set; }

        ///<Summary>
        /// 用户ID
        ///</Summary>
        public int UserId { get; set; }

        ///<Summary>
        /// 扩展json数据字段
        ///</Summary>
        public string ExtensionData { get; set; }

        ///<Summary>
        /// 创建用户ID
        ///</Summary>
        public int CreatorUserId { get; set; }

        ///<Summary>
        /// 创建用户
        ///</Summary>
        public string CreatorUserName { get; set; }

        ///<Summary>
        /// 创建时间
        ///</Summary>
        public string CreationTime { get; set; }
    }
}